
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskType;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskType entities
 * 
 */
public interface TaskTypeService {

	/**
	 */
	public TaskType findTaskTypeByPrimaryKey(Integer id);

	/**
	* Return a count of all TaskType entity
	* 
	 */
	public Integer countTaskTypes();

	/**
	* Save an existing TaskType entity
	* 
	 */
	public void saveTaskType(TaskType tasktype);

	/**
	* Return all TaskType entity
	* 
	 */
	public List<TaskType> findAllTaskTypes(Integer startResult, Integer maxRows);

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskType saveTaskTypeTasks(Integer id_1, Task related_tasks);

	/**
	* Load an existing TaskType entity
	* 
	 */
	public Set<TaskType> loadTaskTypes();

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskType deleteTaskTypeTasks(Integer tasktype_id, Integer related_tasks_id);

	/**
	* Delete an existing TaskType entity
	* 
	 */
	public void deleteTaskType(TaskType tasktype_1);
}